$OpenBSD: patch-cgi_Makefile_in,v 1.7 2013/10/25 16:16:23 sthen Exp $

Allows for simpler use in a chroot jail

--- cgi/Makefile.in.orig	Tue Oct 22 10:40:32 2013
+++ cgi/Makefile.in	Fri Oct 25 00:29:23 2013
@@ -51,7 +51,7 @@ endif
 #CFLAGS_DEBUG=-ggdb3 -g3
 #CFLAGS+=$(CFLAGS_WARN) $(CFLAGS_DEBUG)
 
-LDFLAGS=@LDFLAGS@
+LDFLAGS=-static @LDFLAGS@
 LIBS=@LIBS@
 
 CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi summary.cgi tac.cgi $(CGIEXTRAS)
